<template>
    <el-switch v-model="fieldModel" :size="fieldItem.size" :disabled="fieldItem.disabled" 
        :active-value="fieldItem.options.activeValue" :inactive-value="fieldItem.options.inactiveValue" />
</template>
<script setup>
import { ref, onMounted, defineModel } from 'vue'
const fieldModel = defineModel()
const props = defineProps({
    fieldItem: { type: Object, default: () => { } }
})
</script>